PaymentPlugins\WooCommerce\PPCP\PaymentMethodRegistry S

Total Complexity 36
Dependencies 2
Dependents 3
Total lines 148
Lines of code 105
Logical lines of code 56
Comment lines 12
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_product_payment_gateways()
S
62 5 11
add_admin_script_dependencies()
S
64 4 9
get_cart_payment_gateways()
S
65 3 9
get_express_payment_gateways()
S
65 3 9
get_minicart_payment_gateways()
S
65 3 9
get_payment_method()
S
78 2 3
add_checkout_script_dependencies()
S
68 2 7
add_cart_script_dependencies()
S
68 2 7
add_product_script_dependencies()
S
68 2 7
add_express_checkout_script_dependencies()
S
68 2 7
add_minicart_script_dependencies()
S
68 2 7
add_payment_method_data()
S
69 2 6
register()
S
80 1 3
has_payment_method()
S
79 1 3
get_active_integrations()
S
74 1 5
add_shop_script_dependencies()
S
79 1 3